package SingletonPattern;

public class Text {
    public static void main(String[] args) {
        HungrySingleton hungrySingleton = HungrySingleton.getSingleton();
        hungrySingleton.fun();

        SingletonLazy singletonLazy = SingletonLazy.getInstance();
        singletonLazy.fun();


    }
}
